/* WeChat Mini Program style - common elements */
.wechat-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 414px;
    height: 100%;
    margin: 0 auto;
    background-color: #f7f7f7;
    position: relative;
    overflow: hidden;
    color: #333;
}

.wechat-header {
    background-color: #fd79a8;
    color: white;
    padding: 44px 16px 12px 16px;
    text-align: center;
    position: relative;
    font-weight: 500;
    font-size: 17px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.wechat-back {
    position: absolute;
    left: 16px;
    bottom: 12px;
    font-size: 22px;
}

.wechat-content {
    padding: 16px;
    height: calc(100% - 130px);
    overflow-y: auto;
}

.wechat-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    padding: 10px 0;
    border-top: 1px solid #e1e1e1;
    max-width: 414px;
    margin: 0 auto;
}

.wechat-tab {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #888;
}

.wechat-tab.active {
    color: #fd79a8;
}

.wechat-tab i {
    font-size: 24px;
    display: block;
    margin-bottom: 2px;
}

.wechat-card {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wechat-btn {
    display: block;
    width: 100%;
    background-color: #fd79a8;
    color: white;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    margin: 12px 0;
    border: none;
    cursor: pointer;
}

.wechat-btn-outline {
    background-color: transparent;
    border: 1px solid #fd79a8;
    color: #fd79a8;
}

.wechat-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.wechat-avatar-sm {
    width: 40px;
    height: 40px;
}

.wechat-avatar-lg {
    width: 80px;
    height: 80px;
}

.wechat-divider {
    height: 1px;
    background-color: #eaeaea;
    margin: 12px 0;
}

.wechat-tag {
    display: inline-block;
    background-color: #ffeef4;
    color: #fd79a8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.text-pink {
    color: #fd79a8;
}

.text-gray {
    color: #888;
}

.text-sm {
    font-size: 14px;
}

.text-xs {
    font-size: 12px;
}

.text-lg {
    font-size: 18px;
}

.font-bold {
    font-weight: bold;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.rounded-full {
    border-radius: 9999px;
}

/* Status colors */
.status-waiting {
    color: #e67e22;
}

.status-ready {
    color: #2ecc71;
}

.status-completed {
    color: #3498db;
}

.status-cancelled {
    color: #e74c3c;
}

/* Form elements */
.wechat-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 15px;
}

.wechat-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 15px;
}

.wechat-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 15px;
    background-color: white;
}

.wechat-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 15px;
    min-height: 100px;
    resize: none;
}

/* Queue number display */
.queue-number {
    font-size: 72px;
    font-weight: bold;
    text-align: center;
    color: #fd79a8;
    margin: 20px 0;
}

.queue-status {
    text-align: center;
    padding: 30px 0;
    background-color: white;
    border-radius: 12px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Rating stars */
.rating {
    color: #ffc107;
    font-size: 18px;
}

/* Photo grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

/* WeChat authorization button */
.wechat-auth-btn {
    background-color: #07c160;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    border: none;
}

/* Loading animation */
.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.loading-dots div {
    width: 12px;
    height: 12px;
    background-color: #fd79a8;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    animation: dot-bounce 1.4s infinite ease-in-out both;
}

.loading-dots div:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots div:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dot-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
} 